package com.atguigu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * 描述
 *
 * @author ZhangKai
 * @version 1.0
 * @createDate 2025/2/28 14:53
 **/
@Component
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "系统繁忙（降级处理）";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "系统繁忙（降级处理）";
    }
}
